import request from '@/utils/request'

export function applyAd (form) {
  return request({
    url: '/Apply/addApplyAD',
    method: 'post',
    data: form
  })
}

export function getAllApply () {
  return request({
    url: '/Apply/getAllApply',
    method: 'get'
  })
}

export function updateApply (apply) {
  return request({
    url: '/Apply/updateApply',
    method: 'post',
    data: apply
  })
}
